package cn.edu.stu.syllabus.api;

import cn.edu.stu.syllabus.repository.token.remote.Token;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by daidaijie on 2017/4/25.
 */

public interface TokenApi {

    @GET("/credit/api/v2/token")
    Observable<Token> getToken(@Query("code") String code);
}
